<template>
	<!-- 全屏 -->
	<div>
		<svg-icon :icon-class="isFullscreen ? 'exit-fullscreen' : 'fullscreen'" @click="toggle" />
	</div>
</template>

<script setup>
import { useFullscreen } from '@vueuse/core';
const { isFullscreen, toggle } = useFullscreen(document.documentElement);
</script>
